package cn.wolfcode.luowowo.search.query;

import cn.wolfcode.luowowo.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SearchQueryObject extends QueryObject {

    public static final int SEARCH_TYPE_ALL = -1;
    public static final int SEARCH_TYPE_DESTINATION = 0;
    public static final int SEARCH_TYPE_STRATEGY = 1;
    public static final int SEARCH_TYPE_TRAVEL = 2;
    public static final int SEARCH_TYPE_USER = 3;

    /**
     * 查询维度, 默认为查询所有维度
     */
    private int type = SEARCH_TYPE_ALL;

}
